﻿using System;
using System.Drawing;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

using COUP.Core.Enums;

namespace COUP.Core.Files
{
    public class DataMap
    {
        internal Tile[] Tiles;
        internal int _width, _height;

        public bool CheckMove(Point Location)
        {
            return Tiles[Location.X * _width + Location.Y].Accessible;
        }

        internal int ConstructPosition(Point Location)
        {
            return (Location.X * 10000 + (Location.Y * 10));
        }
    }
}
